﻿using System;
using System.Collections.Generic;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 物料扩展字段表
    /// </summary>
    public partial class TMaterialExtField
    {
        /// <summary>
        /// 扩展字段Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 分类Id
        /// </summary>
        public int TypeId { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        public string TypeName { get; set; }
        /// <summary>
        /// 全分类Id,包括父级分类
        /// </summary>
        public string FullTypeIds { get; set; }
        /// <summary>
        /// 分类全名，包括父分类
        /// </summary>
        public string FullTypeNames { get; set; }
        /// <summary>
        /// 字段编码
        /// </summary>
        public string FieldCode { get; set; }
        /// <summary>
        /// 字段名称
        /// </summary>
        public string FieldName { get; set; }
        /// <summary>
        /// 是否必填
        /// </summary>
        public bool? IsRequired { get; set; }
        /// <summary>
        /// 字段控件类型：1-文本框；2-单选框；3-多选框；4-下拉框；5-多行文本框；6-时间控件
        /// </summary>
        public int? ControlType { get; set; }
        /// <summary>
        /// 输入方式：0-手动输入或选择；1-绑定数据源
        /// </summary>
        public int? InputWay { get; set; }
        /// <summary>
        /// 可选择内容列表，仅手动选择下拉框用；例1-分类1;2-分类2
        /// </summary>
        public string InputValues { get; set; }
        /// <summary>
        /// 是否树形下拉
        /// </summary>
        public bool IsTree { get; set; }
        /// <summary>
        /// 对应字典类型Id，仅数据绑定下拉框用
        /// </summary>
        public int? BindDictTypeId { get; set; }
        /// <summary>
        /// 对应字典类型名称，仅数据绑定下拉框用
        /// </summary>
        public string BindDictTypeName { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int DisplayOrder { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }
    }
}
